import { reactive, ref } from "vue";

const config = reactive({
  isClear: false,
  isCache: true,
  layoutArr: [
    {
      componentName: "kdcount",
      options: {
        text: "设备数量",
        data: [0, 0, 0, 0, 0, 0],
      },
    },
    {
      componentName: "kdcount",
      options: {
        text: "传感器数量",
        data: [0, 0, 0, 0, 0, 0],
      },
    },
    {
      beforeSlot: "kdtitle",
    },
    {
      beforeSlot: "kdweather",
    },
    {
      beforeSlot: "cascade",
    },
    {
      componentName: "kdswiper",
      options: {
        perView: 1,
        autoplay: { delay: 1000 },
        swiperArr: [],
      },
    },
    {
      componentName: "kdbar",
      options: {
        options: {},
      },
    },
    {
      beforeSlot: "zhongzhi",
    },
    {
      componentName: "kdbar",
      options: {
        options: {},
      },
    },
    {
      componentName: "kdbar",
      options: {
        options: {},
      },
    },
    {
      componentName: "kdbar",
      options: {
        options: {},
      },
    },
    {
      componentName: "kdtable",
      options: {
        height: "100%",
        border: true,
        stripe: true,
        optionsArr: [],
        tableData: [],
      },
    },
    {
      componentName: "kdtable",
      options: {
        height: "100%",
        border: true,
        stripe: true,
        optionsArr: [],
        tableData: [],
      },
    },
    {
      componentName: "kdswiper",
      options: {
        perView: 1,
        autoplay: { delay: 1000 },
        swiperArr: [],
      },
    },
    {
      componentName: "kdmap",
      options: {},
      clickEchart() {},
    },
    {
      beforeSlot: "gaojing",
    },
    {
      beforeSlot: "shishi",
    },
    {
      beforeSlot: "jihua",
    },
  ],
});
export default config;
